{# The app's bucket at a glance: how much it holds, at what sizes, and how the app reaches it. Browse opens any bucket folder by folder. #} {% from "components/macros/layout.html" import card, stats_strip, facts, ranked_rows %} {% from "components/macros/feedback.html" import empty_state %}
{{ stats_strip([ {"label": "Objects", "value": bucket.count}, {"label": "Stored", "value": bucket.stored}, {"label": "Largest", "value": bucket.largest}, {"label": "Last write", "value": bucket.latest}, ], id="storage-figures") }} {% if bucket.error %} {% endif %}
{% call card("Sizes", id="storage-sizes") %} {% if bucket.empty %} {{ empty_state("The bucket is empty", "Documents and chat attachments are stored here once those services are installed.") }} {% elif not bucket.error %} {{ ranked_rows(bucket.bands) }} {% endif %} {% endcall %} {% call card("Connection") %}{{ facts(connection) }}{% endcall %}